﻿package philipandrewsportfolio{	import flash.utils.*;	import flash.net.navigateToURL;    import flash.net.URLRequest;	public class util {		public static function rand(minVal:int, maxVal:int):int {			return minVal + Math.floor(Math.random() * maxVal + 1 - minVal);		}		public static function shuffle(a,b):Number {			var num:Number = Math.round(Math.random()*2)-1;			return num;		}		public static function getURL(url:String, window:String = null):void        {            var req:URLRequest = new URLRequest(url);            trace("getURL", url);            try            {                navigateToURL(req, window);            }            catch (e:Error)            {                trace("Navigate to URL failed", e.message);            }        }	}}